﻿<%@ Page Language="C#" MasterPageFile="~/Users/MasterPage.master" AutoEventWireup="true" Inherits="Users_UserBalanceRunningAccountDetail" Title="Untitled Page" Codebehind="UserBalanceRunningAccountDetail.aspx.cs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">
       function OpenOrderWindow(link)
       {
           
           var url = "MyOrderDetail.aspx?OrderID=" + link.title;
           window.open(url);
       }
    </script>
<div class="r_right">
        <div class="r_title3">
            <h2>
                 会员结余款流水帐详细信息</h2>
        </div>
<div style="float:right; width:720px; text-align:left; margin-top:10px;"><asp:DataList ID="dlistMain" runat="server">
            <ItemTemplate>
                <table border="0" cellspacing="1" cellpadding="0" bgcolor="#d88468">
                    <tr bgcolor="#ffffff">
                        
                        <td width="120" style="height: 16px; font-weight:bold;">
                            单据编号：

                        </td>
                        <td width="200" style="height: 16px">
                            <%# Eval("BA_ID")%>
                        </td>
                        <td width="120" style="height: 16px; font-weight:bold;">
                              关联单据编号：

                        </td>
                        <td width="200" style="height: 16px">
                            <%--<%# Eval("BA_RID")%>--%>
                            <a href="#" class="lj" title='<%# Eval("BA_RID")%>' onclick="OpenOrderWindow(this)"><%# Eval("BA_RID")%></a>
                        </td>
                    </tr>
                    <tr bgcolor="#ffffff">
                    <td  style="height: 16px; font-weight:bold;">
                           制单日期：
                    </td>
                    <td width="200" style="height: 16px">
                            <%# Eval("BA_CREATEDATE")%>
                    </td>
                    <td  style="height: 16px; font-weight:bold;">
                           调整类型：

                    </td>
                    <td style="height: 16px">
                            <%# Eval("BAT_NAME")%>
                    </td>
                        
                    </tr>
                    <tr bgcolor="#ffffff">
                    <td  style="height: 16px; font-weight:bold;">
                            备注：

                    </td>
                    <td class="zt5" style="height: 16px">
                            <%# Eval("BA_NOTE")%>
                        </td>
                       
                        <td class="zt5" style="height: 16px">
                             

                        </td>
                        <td>
                            
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList></div>
        
        <div style="float:left; width:720px; text-align:left; margin-top:10px;"><asp:DataList ID="dlistDetail" runat="server" CellPadding="0">
            <ItemTemplate>
                <table width="720" border="0" cellspacing="0" cellpadding="0">
                    <tr class="r_bgcolor1">
                        <td style="border-left:#d88468 1px solid;border-bottom:#d88468 1px solid;border-top:#d88468 0px solid;border-right:#d88468 1px solid; width:140px;">
                            <asp:Label ID="lblDetailId" runat="server" Text='<%# Eval("BAD_DETAILCODE")%>'></asp:Label>
                        </td>
                        <td style="border-left:#d88468 0px solid;border-bottom:#d88468 1px solid;border-top:#d88468 0px solid;border-right:#d88468 1px solid; width:140px;">
                            <asp:Label ID="lblCustomerCode" runat="server" Text='<%# Eval("BAD_CUSTOMERCODE")%>'></asp:Label>
                        </td>
                        <td style="border-left:#d88468 0px solid;border-bottom:#d88468 1px solid;border-top:#d88468 0px solid;border-right:#d88468 1px solid; width:140px;">
                            <asp:Label ID="lblCustomerName" runat="server" Text='<%# Eval("GKMC")%>'></asp:Label>
                        </td>
                        <td style="border-left:#d88468 0px solid;border-bottom:#d88468 1px solid;border-top:#d88468 0px solid;border-right:#d88468 1px solid; width:140px;">
                            <asp:Label ID="lblAmount" runat="server" Text='<%# String.Format("{0:0.00}",Eval("BAD_AMT"))%>'></asp:Label>
                        </td>
                        <td style="border-left:#d88468 0px solid;border-bottom:#d88468 1px solid;border-top:#d88468 0px solid;border-right:#d88468 1px solid; width:140px;">
                            <asp:Label ID="lblBalance" runat="server" Text='<%# String.Format("{0:0.00}",Eval("BAD_BALANCE"))%>'></asp:Label>
                        </td>
                        <td style="border-left:#d88468 0px solid;border-bottom:#d88468 1px solid;border-top:#d88468 0px solid;border-right:#d88468 1px solid; width:160px;">
                            <asp:Label ID="lblNote" runat="server" Text='<%# Eval("BAD_NOTE")%>'></asp:Label>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <HeaderTemplate>
                <table width="720" border="0" cellspacing="1" cellpadding="0" bgcolor="#d88468">
                    <tr class="r_bgcolor">
                        <td style="width:140px;">
                            明细编号
                        </td>
                        <td style="width:140px;">
                            会员帐号
                        </td>
                        <td style="width:140px;">
                            会员名称
                        </td>
                        <td style="width:140px;">
                            调整金额
                        </td>
                        <td style="width:140px;">
                            余额
                        </td>
                        <td style="width:160px;">
                            备注
                        </td>
                    </tr>
                </table>
            </HeaderTemplate>
        </asp:DataList></div></div>
</asp:Content>

